Lua/Shared/BaseEventManager/Functions/Subscribe
From JC2-MP Documentation
< Lua | Shared | BaseEventManager
| Returns | Event |
|---|---|
| Prototype | BaseEventManager:Subscribe(string event_name, function callback) |
| Description | Subscribe to the specified event. |
| Returns | Event |
|---|---|
| Prototype | BaseEventManager:Subscribe(string event_name, object instance, function callback) |
| Description | Subscribe to the specified event with the given object. |